AZ-204 Quiz

← Back to Topics

Shared Access Signatures (1 / 7):

You are developing a .NET application that interacts with Azure Blob Storage. You need to generate a token that will allow a client to have read and write access to a specific blob in your storage account for a period of 24 hours. This token should be generated in a secure manner without sharing your storage account key. The client is authenticated with Microsoft Entra ID. Write the C# code to accomplish this task.

// Define your storage account name, container name, and blob name
string accountName = "<storage-account-name>";
string containerName = "<container-name>";
string blobName = "<blob-name>";


Exam revision: April 11, 2025